<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>伪元素(促销)</title>
    <link rel="stylesheet" href="./导航栏.css">
    <style>
    .aaa{
        width: 414px;
        margin: auto;
    }
    .bbb{
        position: relative;
    }
    .bbb::before{
        content: url(上.png);
        position: absolute;
    }
    .bbb::after{
        content: url(下.png);
        position: absolute;
        right: 0;
        bottom: 0;
    }
    #yifu{
        width: 414px;
    }
    </style>
</head>
<body>
    <div class="tou">
        <header>
            <ul>
                <li><a href="../首页.html">首页</a></li>
                <li><a href="./仿b站.html">仿b站</a></li>
                <li><a href="./伪元素(促销).html">伪元素(促销)</a></li>
                <li><a href="./图片悬停.html">图片悬停</a></li>
                <li><a href="./导航条.html">导航条</a></li>
                <li><a href="./浮动(图片定位).html">浮动(图片定位)</a></li>
                <li><a href="./浮动(环绕i).html">浮动(环绕)</a></li>
                <li><a href="./浮动(西游记).html">浮动(西游记)</a></li>
                <li><a href="./浮动.html">浮动</a></li>
                <li><a href="./浮动定位.html">浮动定位</a></li>
                <li><a href="./立体模型.html">立体模型</a></li>
                <li><a href="./购物车图标.html">购物车图标</a></li>
                <li><a href="./鼠标悬停.html">鼠标悬停</a></li>
                <li><a href="https://gitee.com/han-sunian/">仓库</a></li>
            </ul>
        </header>
    </div>
    <div class="aaa bbb">
        <img src="./哈根达斯.jpg" alt="">
    </div>
    <br>
    <div class="aaa bbb">
        <img src="./衣服.jpg" alt="" id="yifu">
    </div>
</body>
</html>